$OpenBSD: patch-tools_clang_include_clang_Driver_Options_td,v 1.8 2017/02/10 09:37:43 ajacoutot Exp $

Alias the command line parameter -p to -pg.

--- tools/clang/include/clang/Driver/Options.td.orig	Fri Jan 13 20:46:38 2017
+++ tools/clang/include/clang/Driver/Options.td	Fri Jan 13 21:10:28 2017
@@ -1945,7 +1945,7 @@ def pthreads : Flag<["-"], "pthreads">;
 def pthread : Flag<["-"], "pthread">, Flags<[CC1Option]>,
   HelpText<"Support POSIX threads in generated code">;
 def no_pthread : Flag<["-"], "no-pthread">, Flags<[CC1Option]>;
-def p : Flag<["-"], "p">;
+def p : Flag<["-"], "p">, Alias<pg>;
 def pie : Flag<["-"], "pie">;
 def read__only__relocs : Separate<["-"], "read_only_relocs">;
 def remap : Flag<["-"], "remap">;
